﻿using SqlCommandHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Vergnaty.Repository.Model
{
    [DbTable("Users",Schema="dbo")]
    public class User 
    {
        [DbField(StoredProcedureParameterName = "@Id")]
        public Guid Id { get; set; }
        [DbField(CustomName = "Firstname", StoredProcedureParameterName = "@FirstName")]
        public string FistName { get; set; }
        [DbField(CustomName = "LastName", StoredProcedureParameterName = "@LastName")]
        public string LastName { get; set; }
        [DbField(StoredProcedureParameterName = "@Age")]
        public int Age { get; set; }
        [DbField(CustomName = "EmailAddress", StoredProcedureParameterName = "@Email")]
        public string Email { get; set; }
    }
}
